package com.hifar.sso.config;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ComponentScan;

/**
 * SSO独立运行配置
 * 排除不需要的自动配置，避免依赖问题
 * 
 * @author system
 * @since 1.0.0
 */
@Configuration
@EnableAutoConfiguration(exclude = {
    DataSourceAutoConfiguration.class,
    HibernateJpaAutoConfiguration.class
})
@ComponentScan(basePackages = {"com.hifar.sso"})
public class SSOStandaloneConfig {
    
    // 这个配置类用于排除不需要的自动配置
    // 避免因为缺少数据库配置而启动失败
}
